package com.waterdrop.wlsggk.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 员工表 gkemp
 *
 * @author ruoyi
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WlsggkEmp extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 员工id
     */
    @Excel(name = "员工id", cellType = Excel.ColumnType.NUMERIC)
    private Long id;

    /**
     * 员工姓名
     */
    @Excel(name = "员工姓名")
    private String name;

    /**
     * 员工性别
     */
    @Excel(name = "员工性别")
    private Integer gender;

    /**
     * 员工类型
     */
    @Excel(name = "员工类型", readConverterExp = "0兼职，1全职")
    private String category;

    /**
     * 入职时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入职时间", dateFormat = "yyyy-MM-dd")
    private Date entrydate;

}

